package com.plant.entity;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * PgcMonthList entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "pgc_month_list", catalog = "mr_plants")
public class PgcMonthList implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer userId;
	private Integer faqLikeCount;
	private Integer helpedPeopleCount;
	private Timestamp createTime;

	// Constructors

	/** default constructor */
	public PgcMonthList() {
	}

	/** full constructor */
	public PgcMonthList(Integer userId, Integer faqLikeCount,
			Integer helpedPeopleCount, Timestamp createTime) {
		this.userId = userId;
		this.faqLikeCount = faqLikeCount;
		this.helpedPeopleCount = helpedPeopleCount;
		this.createTime = createTime;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "user_id")
	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Column(name = "faq_like_count")
	public Integer getFaqLikeCount() {
		return this.faqLikeCount;
	}

	public void setFaqLikeCount(Integer faqLikeCount) {
		this.faqLikeCount = faqLikeCount;
	}

	@Column(name = "helped_people_count")
	public Integer getHelpedPeopleCount() {
		return this.helpedPeopleCount;
	}

	public void setHelpedPeopleCount(Integer helpedPeopleCount) {
		this.helpedPeopleCount = helpedPeopleCount;
	}

	@Column(name = "create_time", length = 19)
	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

}